package com.hivekion.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnType;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.hivekion.common.entity.BaseEntity;
import lombok.Data;

/**
 * 自定义统计表单 sys_statistics_item
 *
 * @author wangqi
 */
@Data
@TableName(value = "tjj_statistics_bi_name")
public class SysStatisticsBiName extends BaseEntity {

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
    @ColumnComment("配置表类型，默认report:报表、collect：汇总，account：台账")
    private String nameType;

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
    @ColumnComment("统计报表名称")
    private String name;

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
    @ColumnComment("统计报表编码")
    private String code;

    @TableField
    @ColumnType(value = MySqlTypeConstant.INT)
    @ColumnComment("显示顺序")
    private Integer sortCode;

//      @TableField
//      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
//      @ColumnComment("地区Id")
//      private String AreaId;
//
//      @TableField
//      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
//      @ColumnComment("街道编码Id")
//      private String StreetCode;
//
//      @TableField
//      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
//      @ColumnComment("街道地址")
//      private String StreetAddress;
//
//      @TableField
//      @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
//      @ColumnComment("街道地图")
//      private String StreetMapUrl;

//    @TableField
//    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
//    @ColumnComment("对应积分规则id")
//    private String SCoreRuleId;

    @TableField
    @ColumnType(value = MySqlTypeConstant.INT)
    @ColumnComment("填报类型（0 个人填报；1 公司填报）")
    private int fillRule;

    @TableField
    @ColumnType(value = MySqlTypeConstant.INT)
    @ColumnComment("积分规则")
    private int integralRule;

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
    @ColumnComment("开始时间")
    private String StartTime;

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
    @ColumnComment("开始时间")
    private String EndTime;

    @TableField
    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 50)
    @ColumnComment("是否循环")
    private String IsLoop;
}
